package com.jy.adscm.zltx.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2018-11-08
 */
public class SjIssueRecycling implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("fileId")
    private Integer fileId;
    private String issuer;
    @TableField("versionCode")
    private String versionCode;
    @TableField("issueCode")
    private String issueCode;
    private Integer num;
    private String accepter;
    @TableField("acceptTime")
    private Date acceptTime;
    @TableField("recyclingVersionCode")
    private String recyclingVersionCode;
    @TableField("recyclingTime")
    private Date recyclingTime;
    @TableField("recyclingPerson")
    private String recyclingPerson;
    private String remark;
    @TableField(exist = false)
    private  String issuerName;
    @TableField(exist = false)
    private  String accepterName;
    @TableField(exist = false)
    private  String recyclingPersonName;

    public String getIssuerName() {
        return issuerName;
    }

    public void setIssuerName(String issuerName) {
        this.issuerName = issuerName;
    }

    public String getAccepterName() {
        return accepterName;
    }

    public void setAccepterName(String accepterName) {
        this.accepterName = accepterName;
    }

    public String getRecyclingPersonName() {
        return recyclingPersonName;
    }

    public void setRecyclingPersonName(String recyclingPersonName) {
        this.recyclingPersonName = recyclingPersonName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getIssuer() {
        return issuer;
    }

    public void setIssuer(String issuer) {
        this.issuer = issuer;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public String getIssueCode() {
        return issueCode;
    }

    public void setIssueCode(String issueCode) {
        this.issueCode = issueCode;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getAccepter() {
        return accepter;
    }

    public void setAccepter(String accepter) {
        this.accepter = accepter;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getAcceptTime() {
        return acceptTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setAcceptTime(Date acceptTime) {
        this.acceptTime = acceptTime;
    }

    public String getRecyclingVersionCode() {
        return recyclingVersionCode;
    }

    public void setRecyclingVersionCode(String recyclingVersionCode) {
        this.recyclingVersionCode = recyclingVersionCode;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getRecyclingTime() {
        return recyclingTime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setRecyclingTime(Date recyclingTime) {
        this.recyclingTime = recyclingTime;
    }

    public String getRecyclingPerson() {
        return recyclingPerson;
    }

    public void setRecyclingPerson(String recyclingPerson) {
        this.recyclingPerson = recyclingPerson;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "SjIssueRecycling{" +
                "id=" + id +
                ", fileId=" + fileId +
                ", issuer='" + issuer + '\'' +
                ", versionCode='" + versionCode + '\'' +
                ", issueCode='" + issueCode + '\'' +
                ", num=" + num +
                ", accepter='" + accepter + '\'' +
                ", acceptTime=" + acceptTime +
                ", recyclingVersionCode='" + recyclingVersionCode + '\'' +
                ", recyclingTime=" + recyclingTime +
                ", recyclingPerson='" + recyclingPerson + '\'' +
                ", remark='" + remark + '\'' +
                ", issuerName='" + issuerName + '\'' +
                ", accepterName='" + accepterName + '\'' +
                ", recyclingPersonName='" + recyclingPersonName + '\'' +
                '}';
    }
}
